package org.test;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.nokatag.dbgrid.DataInterface;


public class Data implements DataInterface{

	
	public String dataRunte(HttpServletRequest request,HttpServletResponse response, String sql,String spage,String pagedescorname,String pagedescorasc) {
		System.out.println("============:"+sql);
		System.out.println("============spage:"+spage);
		System.out.println("============pagedescorname:"+pagedescorname);
		System.out.println("============pagedescorasc:"+pagedescorasc);
		String str ="{options:{pagecont:'2',showpage:'1',startrow:'1',endrow:'2',pagesize:'2',lastRow:'3'},rows:[['1','6','wq','2014-10-10 13:11:55.0','1','1','1','&nbsp;'],['2','6','q','2014-10-10 13:19:01.0','2','2','2','&nbsp;']]}";
		return str;
	}

}
